\hypertarget{class_data_storage}{
\section{DataStorage Class Reference}
\label{class_data_storage}\index{DataStorage@{DataStorage}}
}


{\ttfamily \#include $<$DataStorage.h$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_data_storage_a22825d40495dae6a5df46d629fb26a3f}{DataStorage} ()
\item 
\hyperlink{class_data_storage_adf4ef73e6d368dc7fcd213ba80e1d618}{$\sim$DataStorage} ()
\item 
void \hyperlink{class_data_storage_ae7e4f12aa32054d0d877cbc05b30cff3}{bestSource} ()
\item 
void \hyperlink{class_data_storage_a471746a0dec70b9e7670e1412ca77fde}{bestPath} ()
\item 
void \hyperlink{class_data_storage_ad91278e905994547e7d02c64371f6543}{maxFlow} ()
\item 
void \hyperlink{class_data_storage_ad8d969bf7d21cf871d6aacc7ad1a6ff2}{supply} ()
\item 
bool \hyperlink{class_data_storage_a694182188f0843429b41df163d5278e4}{loadData} (string dirname)
\item 
int \hyperlink{class_data_storage_a9d78435b2fe668f615e6d399c4402547}{getMapSizeX} ()
\item 
int \hyperlink{class_data_storage_aea878ed7657e76fe5200d1bee207b3fc}{getMapSizeY} ()
\item 
double \hyperlink{class_data_storage_ab89124705c358b4aab8d155eb8609c2e}{getNorth} ()
\item 
double \hyperlink{class_data_storage_a0b289d0e291e080e7c2771ebf8d3b6ab}{getSouth} ()
\item 
double \hyperlink{class_data_storage_af9106c3f827c7940661b930485db80c8}{getEast} ()
\item 
double \hyperlink{class_data_storage_a6dddf1f1c098145968e031646f961e48}{getWest} ()
\item 
double \hyperlink{class_data_storage_aebd1baddee0286d5096881b6b6fffbf1}{getDx} ()
\item 
double \hyperlink{class_data_storage_aca73ad00b8eb104895e4528c37c58088}{getDy} ()
\item 
string \hyperlink{class_data_storage_accd8486ad7314cfd0225c3ca0b51113f}{getDir} ()
\item 
void \hyperlink{class_data_storage_adddb947e82e0346b9e04dc79dd456ef6}{clearAll} ()
\item 
\hyperlink{class_water_network}{WaterNetwork} $\ast$ \hyperlink{class_data_storage_a9c6e7b0b115d0bee72ffd01b27b30f6a}{getGraph} ()
\item 
bool \hyperlink{class_data_storage_a3250388f3fe7c74cd4538300719c7977}{scenaryA} ()
\item 
bool \hyperlink{class_data_storage_ab321dab7b588e6f05c291b6309a73314}{scenaryB} ()
\item 
bool \hyperlink{class_data_storage_a7fc01e2e9c0907ee86a2501625ca6e04}{scenaryC} ()
\item 
bool \hyperlink{class_data_storage_a43f4846e72ea11c920f7a23263c1d428}{debug} ()
\item 
void \hyperlink{class_data_storage_a031e3219829e04a7a0c2135bc0f73039}{changeDebug} ()
\end{DoxyCompactItemize}


\subsection{Detailed Description}
The Model of MVC implementation. 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{class_data_storage_a22825d40495dae6a5df46d629fb26a3f}{
\index{DataStorage@{DataStorage}!DataStorage@{DataStorage}}
\index{DataStorage@{DataStorage}!DataStorage@{DataStorage}}
\subsubsection[{DataStorage}]{\setlength{\rightskip}{0pt plus 5cm}DataStorage::DataStorage (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{class_data_storage_a22825d40495dae6a5df46d629fb26a3f}
\hypertarget{class_data_storage_adf4ef73e6d368dc7fcd213ba80e1d618}{
\index{DataStorage@{DataStorage}!$\sim$DataStorage@{$\sim$DataStorage}}
\index{$\sim$DataStorage@{$\sim$DataStorage}!DataStorage@{DataStorage}}
\subsubsection[{$\sim$DataStorage}]{\setlength{\rightskip}{0pt plus 5cm}DataStorage::$\sim$DataStorage (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{class_data_storage_adf4ef73e6d368dc7fcd213ba80e1d618}


\subsection{Member Function Documentation}
\hypertarget{class_data_storage_a471746a0dec70b9e7670e1412ca77fde}{
\index{DataStorage@{DataStorage}!bestPath@{bestPath}}
\index{bestPath@{bestPath}!DataStorage@{DataStorage}}
\subsubsection[{bestPath}]{\setlength{\rightskip}{0pt plus 5cm}void DataStorage::bestPath (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{class_data_storage_a471746a0dec70b9e7670e1412ca77fde}
\hypertarget{class_data_storage_ae7e4f12aa32054d0d877cbc05b30cff3}{
\index{DataStorage@{DataStorage}!bestSource@{bestSource}}
\index{bestSource@{bestSource}!DataStorage@{DataStorage}}
\subsubsection[{bestSource}]{\setlength{\rightskip}{0pt plus 5cm}void DataStorage::bestSource (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{class_data_storage_ae7e4f12aa32054d0d877cbc05b30cff3}
\hypertarget{class_data_storage_a031e3219829e04a7a0c2135bc0f73039}{
\index{DataStorage@{DataStorage}!changeDebug@{changeDebug}}
\index{changeDebug@{changeDebug}!DataStorage@{DataStorage}}
\subsubsection[{changeDebug}]{\setlength{\rightskip}{0pt plus 5cm}void DataStorage::changeDebug (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{class_data_storage_a031e3219829e04a7a0c2135bc0f73039}
\hypertarget{class_data_storage_adddb947e82e0346b9e04dc79dd456ef6}{
\index{DataStorage@{DataStorage}!clearAll@{clearAll}}
\index{clearAll@{clearAll}!DataStorage@{DataStorage}}
\subsubsection[{clearAll}]{\setlength{\rightskip}{0pt plus 5cm}void DataStorage::clearAll (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{class_data_storage_adddb947e82e0346b9e04dc79dd456ef6}
\hypertarget{class_data_storage_a43f4846e72ea11c920f7a23263c1d428}{
\index{DataStorage@{DataStorage}!debug@{debug}}
\index{debug@{debug}!DataStorage@{DataStorage}}
\subsubsection[{debug}]{\setlength{\rightskip}{0pt plus 5cm}bool DataStorage::debug (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{class_data_storage_a43f4846e72ea11c920f7a23263c1d428}
\hypertarget{class_data_storage_accd8486ad7314cfd0225c3ca0b51113f}{
\index{DataStorage@{DataStorage}!getDir@{getDir}}
\index{getDir@{getDir}!DataStorage@{DataStorage}}
\subsubsection[{getDir}]{\setlength{\rightskip}{0pt plus 5cm}string DataStorage::getDir (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{class_data_storage_accd8486ad7314cfd0225c3ca0b51113f}
\hypertarget{class_data_storage_aebd1baddee0286d5096881b6b6fffbf1}{
\index{DataStorage@{DataStorage}!getDx@{getDx}}
\index{getDx@{getDx}!DataStorage@{DataStorage}}
\subsubsection[{getDx}]{\setlength{\rightskip}{0pt plus 5cm}double DataStorage::getDx (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{class_data_storage_aebd1baddee0286d5096881b6b6fffbf1}
\hypertarget{class_data_storage_aca73ad00b8eb104895e4528c37c58088}{
\index{DataStorage@{DataStorage}!getDy@{getDy}}
\index{getDy@{getDy}!DataStorage@{DataStorage}}
\subsubsection[{getDy}]{\setlength{\rightskip}{0pt plus 5cm}double DataStorage::getDy (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{class_data_storage_aca73ad00b8eb104895e4528c37c58088}
\hypertarget{class_data_storage_af9106c3f827c7940661b930485db80c8}{
\index{DataStorage@{DataStorage}!getEast@{getEast}}
\index{getEast@{getEast}!DataStorage@{DataStorage}}
\subsubsection[{getEast}]{\setlength{\rightskip}{0pt plus 5cm}double DataStorage::getEast (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{class_data_storage_af9106c3f827c7940661b930485db80c8}
\hypertarget{class_data_storage_a9c6e7b0b115d0bee72ffd01b27b30f6a}{
\index{DataStorage@{DataStorage}!getGraph@{getGraph}}
\index{getGraph@{getGraph}!DataStorage@{DataStorage}}
\subsubsection[{getGraph}]{\setlength{\rightskip}{0pt plus 5cm}{\bf WaterNetwork} $\ast$ DataStorage::getGraph (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{class_data_storage_a9c6e7b0b115d0bee72ffd01b27b30f6a}
\hypertarget{class_data_storage_a9d78435b2fe668f615e6d399c4402547}{
\index{DataStorage@{DataStorage}!getMapSizeX@{getMapSizeX}}
\index{getMapSizeX@{getMapSizeX}!DataStorage@{DataStorage}}
\subsubsection[{getMapSizeX}]{\setlength{\rightskip}{0pt plus 5cm}int DataStorage::getMapSizeX (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{class_data_storage_a9d78435b2fe668f615e6d399c4402547}
\hypertarget{class_data_storage_aea878ed7657e76fe5200d1bee207b3fc}{
\index{DataStorage@{DataStorage}!getMapSizeY@{getMapSizeY}}
\index{getMapSizeY@{getMapSizeY}!DataStorage@{DataStorage}}
\subsubsection[{getMapSizeY}]{\setlength{\rightskip}{0pt plus 5cm}int DataStorage::getMapSizeY (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{class_data_storage_aea878ed7657e76fe5200d1bee207b3fc}
\hypertarget{class_data_storage_ab89124705c358b4aab8d155eb8609c2e}{
\index{DataStorage@{DataStorage}!getNorth@{getNorth}}
\index{getNorth@{getNorth}!DataStorage@{DataStorage}}
\subsubsection[{getNorth}]{\setlength{\rightskip}{0pt plus 5cm}double DataStorage::getNorth (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{class_data_storage_ab89124705c358b4aab8d155eb8609c2e}
\hypertarget{class_data_storage_a0b289d0e291e080e7c2771ebf8d3b6ab}{
\index{DataStorage@{DataStorage}!getSouth@{getSouth}}
\index{getSouth@{getSouth}!DataStorage@{DataStorage}}
\subsubsection[{getSouth}]{\setlength{\rightskip}{0pt plus 5cm}double DataStorage::getSouth (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{class_data_storage_a0b289d0e291e080e7c2771ebf8d3b6ab}
\hypertarget{class_data_storage_a6dddf1f1c098145968e031646f961e48}{
\index{DataStorage@{DataStorage}!getWest@{getWest}}
\index{getWest@{getWest}!DataStorage@{DataStorage}}
\subsubsection[{getWest}]{\setlength{\rightskip}{0pt plus 5cm}double DataStorage::getWest (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{class_data_storage_a6dddf1f1c098145968e031646f961e48}
\hypertarget{class_data_storage_a694182188f0843429b41df163d5278e4}{
\index{DataStorage@{DataStorage}!loadData@{loadData}}
\index{loadData@{loadData}!DataStorage@{DataStorage}}
\subsubsection[{loadData}]{\setlength{\rightskip}{0pt plus 5cm}bool DataStorage::loadData (
\begin{DoxyParamCaption}
\item[{string}]{dirname}
\end{DoxyParamCaption}
)}}
\label{class_data_storage_a694182188f0843429b41df163d5278e4}
Loads data from files. \hypertarget{class_data_storage_ad91278e905994547e7d02c64371f6543}{
\index{DataStorage@{DataStorage}!maxFlow@{maxFlow}}
\index{maxFlow@{maxFlow}!DataStorage@{DataStorage}}
\subsubsection[{maxFlow}]{\setlength{\rightskip}{0pt plus 5cm}void DataStorage::maxFlow (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{class_data_storage_ad91278e905994547e7d02c64371f6543}
\hypertarget{class_data_storage_a3250388f3fe7c74cd4538300719c7977}{
\index{DataStorage@{DataStorage}!scenaryA@{scenaryA}}
\index{scenaryA@{scenaryA}!DataStorage@{DataStorage}}
\subsubsection[{scenaryA}]{\setlength{\rightskip}{0pt plus 5cm}bool DataStorage::scenaryA (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{class_data_storage_a3250388f3fe7c74cd4538300719c7977}
\hypertarget{class_data_storage_ab321dab7b588e6f05c291b6309a73314}{
\index{DataStorage@{DataStorage}!scenaryB@{scenaryB}}
\index{scenaryB@{scenaryB}!DataStorage@{DataStorage}}
\subsubsection[{scenaryB}]{\setlength{\rightskip}{0pt plus 5cm}bool DataStorage::scenaryB (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{class_data_storage_ab321dab7b588e6f05c291b6309a73314}
\hypertarget{class_data_storage_a7fc01e2e9c0907ee86a2501625ca6e04}{
\index{DataStorage@{DataStorage}!scenaryC@{scenaryC}}
\index{scenaryC@{scenaryC}!DataStorage@{DataStorage}}
\subsubsection[{scenaryC}]{\setlength{\rightskip}{0pt plus 5cm}bool DataStorage::scenaryC (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{class_data_storage_a7fc01e2e9c0907ee86a2501625ca6e04}
\hypertarget{class_data_storage_ad8d969bf7d21cf871d6aacc7ad1a6ff2}{
\index{DataStorage@{DataStorage}!supply@{supply}}
\index{supply@{supply}!DataStorage@{DataStorage}}
\subsubsection[{supply}]{\setlength{\rightskip}{0pt plus 5cm}void DataStorage::supply (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{class_data_storage_ad8d969bf7d21cf871d6aacc7ad1a6ff2}


The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
C:/Users/Paulo/git/cal2012t4/water/src/\hyperlink{_data_storage_8h}{DataStorage.h}\item 
C:/Users/Paulo/git/cal2012t4/water/src/\hyperlink{_data_storage_8cpp}{DataStorage.cpp}\end{DoxyCompactItemize}
